﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BatchOrderDetail.aspx.cs" Inherits="WMS6.Web.Outbound.BatchOrderDetail" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>BatchOrderDetail</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initDetailPage();
        }
         //弹出窗口订单
        function selectOrders()
        {
            var rtnValue = popModalWindow('../OutBound/ShippingOrderQuery.aspx?action=txtOrderID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOrderID").focus();
                document.getElementById("txtOrderID").value = rtnValue;
                __doPostBack("txtOrderID_TextChanged","");
            }
        }
    </script>
</head>
<body>
    <form id="F7033" runat="server">
    <div>
        
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="lblBatchOrderDetail" runat="server" 
                            CssClass="label_header" Text="批量订单明细" 
                            meta:resourcekey="lblBatchOrderDetail"></asp:Label></td>
                    <td><asp:Button ID="btnCancel" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCancel%>" 
                            AccessKey="c" onclick="btnCancel_Click" Enabled="False" 
                              /></td>
                    <td><asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" 
                            AccessKey="s" onclick="btnSave_Click"  Enabled="False" 
                            meta:resourcekey="btnSave" /></td>
                              <td><asp:Button ID="btnSaveContinue" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSaveContinue%>" 
                            AccessKey="s" onclick="btnSaveContinue_Click"  Enabled="False" 
                                      meta:resourcekey="btnSaveContinue" /></td>
                </tr>
            </table>
        </div>
        
         <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                 meta:resourcekey="lblMsg"></asp:Label>
        </div>
        
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="imgL1"></div>
            </div>
            <div class="tabLabelCont tabCur" id="div1">
                <asp:Label ID="one1" runat="server" class="hover" Text="新增" 
                    meta:resourcekey="one1"></asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="imgR1"></div>
            </div>
        </div>
        
        <div id="div_content">
             <div id="con_one_1" style="display: block;">
                 <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                    <tr>
                        <td width="180px">
                            <asp:Label ID="lblWaveID" runat="server" CssClass="label" Text="批量订单编号" 
                                meta:resourcekey="lblWaveID"></asp:Label>
                        </td>
                        <td width="180px">
                           
                        </td>
                          <td width="180px">
                           
                        </td>
                          <td width="180px">
                           
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                       <asp:TextBox ID="txtWaveID" runat="server" CssClass="textbox" Enabled="False" 
                                meta:resourcekey="txtWaveID" ></asp:TextBox>
                        </td>
                        <td width="180px">                       
                        </td>
                          <td width="180px">                           
                        </td>
                          <td width="180px">                           
                        </td>
                    </tr>
                    <tr>
                          <td width="180px">
                            <asp:Label ID="lblOrderID" runat="server" CssClass="label" Text="订单号" 
                                  meta:resourcekey="lblOrderID"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblStatus" runat="server" CssClass="label" Text="状态" 
                                meta:resourcekey="lblStatus"></asp:Label>
                        </td>
                          <td width="180px">        
                           <asp:Label ID="lblOwnerID" runat="server" CssClass="label" Text="货主代码" 
                                  meta:resourcekey="lblOwnerID"></asp:Label>                   
                        </td>
                          <td width="180px">    
                           <asp:Label ID="lblConsigneeID" runat="server" CssClass="label" Text="客户代码" 
                                  meta:resourcekey="lblConsigneeID"></asp:Label>                       
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                             <asp:TextBox ID="txtOrderID" runat="server" CssClass="textbox" 
                                 ontextchanged="txtOrderID_TextChanged"  AutoPostBack="True" 
                                 meta:resourcekey="txtOrderID"  ></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" id="imgOrderID" runat="server" class="img" onclick="selectOrders();"/>                               
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtStatus" runat="server" CssClass="textbox"  Enabled="False" 
                                meta:resourcekey="txtStatus" ></asp:TextBox>      
                        </td>
                          <td width="180px">           
                            <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox"  Enabled="False" 
                                  meta:resourcekey="txtOwnerID" ></asp:TextBox>                      
                        </td>
                          <td width="180px">      
                            <asp:TextBox ID="txtConsigneeID" runat="server" CssClass="textbox"  
                                  Enabled="False" meta:resourcekey="txtConsigneeID" ></asp:TextBox>                           
                        </td>
                    </tr>
                     <tr>
                          <td width="180px">
                            <asp:Label ID="lblType" runat="server" CssClass="label" Text="订单类型" 
                                  meta:resourcekey="lblType"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblPriority" runat="server" CssClass="label" Text="订单优先级" 
                                meta:resourcekey="lblPriority"></asp:Label>
                        </td>
                          <td width="180px">        
                           <asp:Label ID="lblOrderDate" runat="server" CssClass="label" Text="订单日期" 
                                  meta:resourcekey="lblOrderDate"></asp:Label>                   
                        </td>
                          <td width="180px">    
                           <asp:Label ID="lblRequestedShipDate" runat="server" CssClass="label" Text="要求发货日期" 
                                  meta:resourcekey="lblRequestedShipDate"></asp:Label>                       
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                             <asp:TextBox ID="txtType" runat="server" CssClass="textbox"  Enabled="False" 
                                 meta:resourcekey="txtType" ></asp:TextBox>                               
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtPriority" runat="server" CssClass="textbox"  
                                Enabled="False" meta:resourcekey="txtPriority" ></asp:TextBox>      
                        </td>
                          <td width="180px">           
                            <asp:TextBox ID="txtOrderDate" runat="server" CssClass="textbox"  Enabled="False" 
                                  meta:resourcekey="txtOrderDate" ></asp:TextBox>                      
                        </td>
                          <td width="180px">      
                            <asp:TextBox ID="txtRequestedShipDate" runat="server" CssClass="textbox"  
                                  Enabled="False" meta:resourcekey="txtRequestedShipDate" ></asp:TextBox>                           
                        </td>
                    </tr>
                       <tr>
                          <td width="180px">
                            <asp:Label ID="lblDoor" runat="server" CssClass="label" Text="门" 
                                  meta:resourcekey="lblDoor"></asp:Label>
                        </td>
                        <td width="180px">
                            <asp:Label ID="lblRoute" runat="server" CssClass="label" Text="线路" 
                                meta:resourcekey="lblRoute"></asp:Label>
                        </td>
                          <td width="180px">        
                           <asp:Label ID="lblStop" runat="server" CssClass="label" Text="站点" 
                                  meta:resourcekey="lblStop"></asp:Label>                   
                        </td>
                          <td width="180px">    
                                    
                        </td>
                    </tr>
                    <tr>
                        <td width="180px">
                             <asp:TextBox ID="txtDoor" runat="server" CssClass="textbox"  Enabled="False" 
                                 meta:resourcekey="txtDoor" ></asp:TextBox>                               
                        </td>
                        <td width="180px">
                            <asp:TextBox ID="txtRoute" runat="server" CssClass="textbox"  Enabled="False" 
                                meta:resourcekey="txtRoute" ></asp:TextBox>      
                        </td>
                          <td width="180px">           
                            <asp:TextBox ID="txtStop" runat="server" CssClass="textbox"  Enabled="False" 
                                  meta:resourcekey="txtStop" ></asp:TextBox>                      
                        </td>
                          <td width="180px">      
                                           
                        </td>
                    </tr>
                    <tr>
                        <td>
                            
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>                  
                 </table>
             </div>
        </div>
    
    </div>
        <input type="hidden" id="hdnFrom" runat="server" />
        <input type="hidden" id="hdnWaveID" runat="server" />
        <input type="hidden" id="hdnOrderBatchFlag" runat="server" />
    </form>
</body>
</html>
